*,
*::before,
*::after {
    box-sizing: border-box;
}

.signature-img {
    cursor: move;
    max-height: 100px;
    max-width: 200px;
    position: absolute;
    /* float: right;
    top: 400px;
    right: 50px; */
    z-index: -1;
    height: auto;
    background-color: transparent;
    /*opacity:0.1;filter:alpha(opacity=50);*/
}

.signature-Div {
    width: 340px;
    height: 320px;
    top: 0;
    right: 0;
    position: fixed;
    text-align: center;
}

.window {
    width: 720px;
    /* background-color: #d0def0; */
    position: fixed;
    padding: 2px;
    margin: 0;
    z-index: 1;
    /* display: none; */
}

.title {
    padding: 4px 6px;
    color: #78c75b;
    font-size: 12px;
    background: #fff;
    /* width: 660px;
    max-width: 680px; */
}

.move {
    cursor: move;
}

.title img {
    float: right;
}

.modal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    padding: 32px 16px;
    background: url("") repeat scroll center center #b3b3b3;
    font-family: Helvetica, Sans-Serif;
    position: relative;
    left: 0px;
    margin-bottom: 0px;
    text-align: center;
    z-index: 1;
    animation: topDown 0.4s;
}

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    /*
    width: 700px;
    max-width: 780px;*/
    height: 97vh;
    max-height: 98vh;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
    transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
    transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

.signature-pad--body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}
@-webkit-keyframes greenPulse {
    from { background-color: #ae3ed0; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #96C50A; -webkit-box-shadow: 0 0 18px #91bd09; }
    to { background-color: #A2D603; -webkit-box-shadow: 0 0 9px #333; }
}
.close{
    padding:3px 15px;
    border:1px solid #FFFFFF;
    color:#FFFFFF;
    font-size:14px;
    background-color: #96C50A;
    -webkit-animation-name: greenPulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}